package com.zatech.cgnci.project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 收付费管理结算表
 * </p>
 *
 * @author Generator
 * @since 2025-01-15
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("cgnci_receipt_payment_statement")
@ApiModel(value = "CgnciReceiptPaymentStatementDO对象", description = "收付费管理结算表")
public class CgnciReceiptPaymentStatementDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("结算单编号")
    @TableId(value = "statement_number", type = IdType.ASSIGN_ID)
    private Long statementNumber;

    @ApiModelProperty("账单编号")
    private String invoiceNumber;

    @ApiModelProperty("项目名称")
    private String projectName;

    @ApiModelProperty("业务编号")
    private String taskNo;

    @ApiModelProperty("收付方向")
    private String direction;

    @ApiModelProperty("账单接收人")
    private String billRecipient;

    @ApiModelProperty("账单币种")
    private String currency;

    @ApiModelProperty("结算总金额")
    private BigDecimal statementTotalAmount;

    @ApiModelProperty("账单状态")
    private String status;

    @ApiModelProperty("实收付日期")
    private Date actualPaymentDate;

    @ApiModelProperty("实收付总金额")
    private BigDecimal actualTotalAmount;

    @ApiModelProperty("汇兑损益汇总")
    private BigDecimal fxGainOrLoss;

    @ApiModelProperty("银行手续费汇总")
    private BigDecimal commission;

    @ApiModelProperty("营业外收入汇总")
    private BigDecimal otherIncome;

    @ApiModelProperty("汇总金额")
    private BigDecimal totalAmount;

    @ApiModelProperty("UPM编号")
    private String upmNumber;

    @ApiModelProperty("付款币种")
    private String paymentCurrency;

    @ApiModelProperty("付款金额")
    private BigDecimal paymentAmount;

    @ApiModelProperty("结算币种兑付款币种汇率")
    private BigDecimal fxRate;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("删除标志位（0：未删除，1：已删除）")
    private String isDeleted;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("创建人")
    private String createUser;

    @ApiModelProperty("更新时间")
    @TableField(update = "now()")
    private Date updateTime;

    @ApiModelProperty("更新人")
    private String updateUser;


}
